package controller;


import java.lang.reflect.InvocationTargetException;

import javax.swing.SwingUtilities;

import model.GlobalParams;

import view.MainFrame;

public class JCommander {
	
	public static void main(String[] args) {		
		try {
			SwingUtilities.invokeAndWait(new Runnable() {
				@Override
				public void run() {
					GlobalParams.getInstance().update();
					new MainFrame();		
				}
			});		
			
		} catch (InterruptedException e) {				
			e.printStackTrace();
		} catch (InvocationTargetException e) {				
			e.printStackTrace();
		}
	}
}
